<?php
namespace App\Api\Web\Models;

use Illuminate\Database\Eloquent\Model;

class Bbs extends Model
{
    protected $table = 'bbs';

    protected $fillable = [
        'title',
        'text',
        'status',
        'main_img',
        'user_id',
        'pv',
        'comment_count',
        'collect_count'
    ];

    static $status = [
        '-900' => '已删除',
        '100' => '待发布',
        '200' => '已发布',
    ];

}